package com.mfp.java.testYou.db.model;

public class Answer extends Entity {

	private static final long serialVersionUID = 7379378708934681228L;

	private boolean corect;
	private String text;
	private int questionId;

	public Answer() {
		// empty constructor -- bean entity
	}

	public Answer(boolean corect, String text) {
		super();
		this.corect = corect;
		this.text = text;
	}

	public final boolean isCorect() {
		return corect;
	}

	public final void setCorect(boolean corect) {
		this.corect = corect;
	}

	public final String getText() {
		return text;
	}

	public final void setText(String text) {
		this.text = text;
	}

	public int getQuestionId() {
		return questionId;
	}

	public void setQuestionId(int questionId) {
		this.questionId = questionId;
	}
}
